Skip to content

Conversation

bso-odoo
Copy link

@bso-odoo bso-odoo commented Feb 5, 2025

No description provided.

@robodoo
Copy link

robodoo commented Feb 5, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged.

@bso-odoo bso-odoo force-pushed the master-mysterious-egg-bso-1 branch 2 times, most recently from 537292a to b7e898b Compare February 28, 2025 15:53
@bso-odoo bso-odoo marked this pull request as ready for review February 28, 2025 15:55
@robodoo
Copy link

robodoo commented Feb 28, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged.

@bso-odoo bso-odoo changed the title tmp dynamic svg option Feb 28, 2025
bso-odoo added 2 commits March 4, 2025 09:38
At some point, servers started to return `image/svg+xml; charset=utf-8`
instead of `image/svg+xml` in the `content-type` header of SVG images.
Because of this, dynamic SVGs were not properly handled anymore.

This commit adapts the mimetype comparisons to cope for this extra
`charset` info inside the mimetype.

Steps to reproduce:
- Drop an image block inside a website page.
- Replace the image.
- Search for e.g. "city".
- Pick an undraw illustration.

=> The image was lost because its `src` became `false`.

closes odoo#199112

X-original-commit: e255894
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
@bso-odoo bso-odoo force-pushed the master-mysterious-egg-bso-1 branch from b7e898b to 302e3a7 Compare March 4, 2025 08:40
@FrancoisGe FrancoisGe merged commit f2dd4fe into master-mysterious-egg Mar 4, 2025
@FrancoisGe FrancoisGe deleted the master-mysterious-egg-bso-1 branch March 4, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants